// components/songMenu/songMenu.js
Component({
  properties: {
    menu: {
      type: Object,
      value: {}
    }
  },
  methods: {
    menuClick() {
      const id = this.properties.menu.id
      wx.navigateTo({
        url: `/pages/mainDetail/mainDetail?type=menu&&id=${id}`,
      })
    }
  }
})